using Microsoft.Extensions.DependencyInjection;

namespace EventMsg;

public static class ExtensionNew
{
	public static IServiceCollection AddNewExtension(this IServiceCollection services)
	{
		ISyncEventConsistency syncEventConsistency = new SyncEventConsistency(700);
		services.AddSingleton(typeof(ISyncEventConsistency), syncEventConsistency);
		return services;
	}
}
